package com.bingo.generate.comm.dto;

import lombok.Getter;
import lombok.Setter;

import java.nio.file.Path;

/**
 * ClassName
 * Description
 * Create by lc
 * Date 2021/9/23 16:54
 */
public class TableColumnDto {

    //private String dataSourceName;

    private String tableName;

    @Setter@Getter
    private Path excelPath;

    private String sheetName;

    private String[] excelTitle = {"列名", "数据类型", "字段类型", "长度", "是否为空", "默认值", "备注"};

    /*public String getDataSourceName() {
        return dataSourceName;
    }

    public void setDataSourceName(String dataSourceName) {
        this.dataSourceName = dataSourceName;
    }*/

    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName;
    }


    public String getSheetName() {
        return "表"+this.tableName+"的表结构";
    }

    public String[] getExcelTitle() {
        return excelTitle;
    }

}
